]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
app: Replace ClutterTexture by ClutterActor
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 29 Jan 2019 19:02:52 +0000 (17:02 -0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 29 Jan 2019 19:11:13 +0000 (17:11 -0200)
It apparently uses no ClutterTexture specifics, and instead
only tries to match what StTextureCache used to return.

Since StTextureCache now returns ClutterActor, also use a
ClutterActor on ShellApp.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/373

src/shell-app.c

index bc7408b37bdafff3a7b8cfc451b9e73f160a3e45..a4d21b08e659aaf3fe26582b2bf19f63aeed5637 100644 (file)
@@ -216,7 +216,7 @@ window_backed_app_get_icon (ShellApp *app,
 
   if (window == NULL)
     {
-      actor = clutter_texture_new ();
+      actor = clutter_actor_new ();
       g_object_set (actor, "opacity", 0, "width", (float) size, "height", (float) size, NULL);
       return actor;
     }